package com.easy.order.service;

import com.easy.bean.Orders;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Service
@FeignClient(value = "easy-payment")
public interface PaymentFiegnService {

    @RequestMapping(value = "payment/prepayment",method = RequestMethod.POST)
    public String prePayment(@RequestBody Orders order);
}
